public class Points{
	public static final int x_max = 9;
	public static final int y_max = 9;

	private int xpoint;
	private int ypoint;

	public Points() {

	}

	public Points(int xpoint, int ypoint) {
		this.xpoint = xpoint;
		this.ypoint = ypoint;
	}

	public void forward() {
		ypoint += 1;
	}

	public void back() {
		ypoint -= 1;
	}

	public void left() {
		xpoint -= 1;
	}

	public void right() {
		xpoint += 1;
	}

	public void setXpoint(int xpoint){
		this.xpoint = xpoint;
	}

	public int getXpoint() {
		return xpoint;
	}

	public void setYpoint(int ypoint) {
		this.ypoint = ypoint;
	}

	public int getYpoint() {
		return ypoint;
	}
}